package org.example.module.service;

import org.example.module.info.UserInfo;

/**
 * The service of users
 *
 * @author yinjunwu
 */
public interface UserService {

    /**
     * To query a user by a name.
     *
     * @param name name
     * @return The info of the user.
     */
    UserInfo queryUserByName(String name);
}
